package com.javase.utils;

/**
 * Created by user on 2016/2/19.
 */
public class PKUtils {

    public static String lPad(String orgin, int len, String ph) {
        if(orgin.length() >= len){
            return orgin;
        }

        while (orgin.length() < len){
            orgin = ph + orgin;
        }
        return orgin;
    }
}
